<template>
   <div>
       <h2>气泡确认框的使用</h2>
           <el-popconfirm title="这是一段内容确定删除吗？"
                          confirm-button-text='确认'
                          cancel-button-text='取消'
                  >

               <el-button slot="reference">删除</el-button>
           </el-popconfirm>
   </div>
</template>

<script>
export default {
    name: "PopconfirmView",
    methods:{
        delete(number){
              this.$message("删除数据"+number)
        }
    }

}
</script>

<style scoped>

</style>